Learn R Programming

oro.nifti (version 0.1.4)

Convert ANALYZE Codes: Convert NIfTI Codes

Description

Codes that appear in the ANALYZE header are mapped to meaningful chartacter strings.

Usage

convert.datatype.anlz(datatype)
convert.orient.anlz(orientation)

Arguments

datatype
defines data type.
orientation
defines the orientation.

Value

  • A character string.

Details

switch statements are used to map a numeric code to the appropriate string.

References

ANALYZE 7.5 http://www.mayo.edu/bir/PDF/ANALYZE75.pdf

See Also

convert.datatype, convert.bitpix, convert.intent, convert.form, convert.units, convert.slice

Examples

Run this code
##  4 = SIGNED_SHORT
convert.datatype.anlz(4)
## 16 = FLOAT
convert.datatype.anlz(16)
##  2 = "saggital unflipped"
convert.orient.anlz(2)
##  4 = "coronal flipped"
convert.orient.anlz(4)

Run the code above in your browser using DataLab